<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<body>
<h1>jianglai BBS</h1><br/>
<a href="/login/index.do">首页</a>
<c:if test="${user != null}">
    ${user.nickName}  <a href="/login/logout.do">登出</a>
</c:if>
    <form action="/category/add.do" method="post">
    <p>
        栏目名称：<input type="text" name="name" value=""/><br/>
        顺序：<input type="text" name="orderNo" value=""/><br/>
        是否隐藏：是<input type="radio" name="isHide" value="1"/>
                否<input type="radio" name="isHide" value="0"/><br/>
    </p>
        <input type="submit" value="提交"/>
    </form>
</body>
</html>
